package com.itheima.health.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.health.dao.QuartzClearDao;
import com.itheima.health.service.QuartzClearService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author dong
 * @Date 2020/4/17
 * @Version v1.0
 * @Description 定时任务业务接口实现类
 */
@Service
@Transactional
public class QuartzClearServiceImpl implements QuartzClearService {
    //依赖注入
    @Autowired
    private QuartzClearDao quartzClearDao;

    @Override
    public void deleteOrderSetting(String date) {

        quartzClearDao.deleteOrderSetting(date);
    }
}
